package com.huitone.gddw.dao.entity;

import java.util.Date;

public class Trigger {
	private String triggerId;
	
	private String expressions;	//表达式
	
	private String itemId;
	
	private String keyId;
	
	private Integer alarmLevel;
	
	private double upperLimit;
	
	private double lowerLimit;
	
	private String sustainTime;
	
	private String indexDesc;

    private String status = "1";

    private Date insertTime;

    private String insertStaffId;

    private Date lastModTime;

    private String lastModStaffId;
    
    private String triggerName;
    
    private String smFlag;

    private String emailFlag;

    private String innormalMsg;

    private String warnMsg;

    private int times;

	public int getTimes() {
		return times;
	}

	public void setTimes(int times) {
		this.times = times;
	}

	public String getSmFlag() {
		return smFlag;
	}

	public void setSmFlag(String smFlag) {
		this.smFlag = smFlag;
	}

	public String getEmailFlag() {
		return emailFlag;
	}

	public void setEmailFlag(String emailFlag) {
		this.emailFlag = emailFlag;
	}

	public String getInnormalMsg() {
		return innormalMsg;
	}

	public void setInnormalMsg(String innormalMsg) {
		this.innormalMsg = innormalMsg;
	}

	public String getWarnMsg() {
		return warnMsg;
	}

	public void setWarnMsg(String warnMsg) {
		this.warnMsg = warnMsg;
	}

	public String getTriggerName() {
		return triggerName;
	}

	public void setTriggerName(String triggerName) {
		this.triggerName = triggerName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getInsertTime() {
		return insertTime;
	}

	public void setInsertTime(Date insertTime) {
		this.insertTime = insertTime;
	}

	public String getInsertStaffId() {
		return insertStaffId;
	}

	public void setInsertStaffId(String insertStaffId) {
		this.insertStaffId = insertStaffId;
	}

	public Date getLastModTime() {
		return lastModTime;
	}

	public void setLastModTime(Date lastModTime) {
		this.lastModTime = lastModTime;
	}

	public String getLastModStaffId() {
		return lastModStaffId;
	}

	public void setLastModStaffId(String lastModStaffId) {
		this.lastModStaffId = lastModStaffId;
	}

	public String getTriggerId() {
		return triggerId;
	}

	public void setTriggerId(String triggerId) {
		this.triggerId = triggerId;
	}

	public String getExpressions() {
		return expressions;
	}

	public void setExpressions(String expressions) {
		this.expressions = expressions;
	}

	

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public String getKeyId() {
		return keyId;
	}

	public void setKeyId(String keyId) {
		this.keyId = keyId;
	}

	public Integer getAlarmLevel() {
		return alarmLevel;
	}

	public void setAlarmLevel(Integer alarmLevel) {
		this.alarmLevel = alarmLevel;
	}

	

	public double getUpperLimit() {
		return upperLimit;
	}

	public void setUpperLimit(double upperLimit) {
		this.upperLimit = upperLimit;
	}

	public double getLowerLimit() {
		return lowerLimit;
	}

	public void setLowerLimit(double lowerLimit) {
		this.lowerLimit = lowerLimit;
	}

	public String getSustainTime() {
		return sustainTime;
	}

	public void setSustainTime(String sustainTime) {
		this.sustainTime = sustainTime;
	}

	public String getIndexDesc() {
		return indexDesc;
	}

	public void setIndexDesc(String indexDesc) {
		this.indexDesc = indexDesc;
	}

	@Override
	public String toString() {
		return "Trigger [triggerId=" + triggerId + ", expressions=" + expressions + ", itemId=" + itemId + ", keyId="
				+ keyId + ", alarmLevel=" + alarmLevel + ", upperLimit=" + upperLimit + ", lowerLimit=" + lowerLimit
				+ ", sustainTime=" + sustainTime + ", indexDesc=" + indexDesc + "]";
	}
	
	
}
